Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Oct 23, 2025

@staabm staabm marked this pull request as ready for review October 23, 2025 11:45
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

public function testBug13714(): void
{
$errors = $this->runAnalyse(__DIR__ . '/data/bug-13714.php');
$this->assertCount(19, $errors);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the 19 errors? Can you produce code that makes PHPStan crash but once fixed, it produces no errors?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no errors seems hard todo, but I reduced it to a minimum

@ondrejmirtes ondrejmirtes merged commit 3435c3b into phpstan:2.1.x Oct 23, 2025
541 of 551 checks passed
@ondrejmirtes
Copy link
Member

Awesome, thank you!

@staabm staabm deleted the bug13714 branch October 23, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crash when scoper using projects is loaded

3 participants